package com.fuful.domain;

import java.util.List;

public class Orders {
    private String orderid;
    private Users uid;
    private float orderprice;
    private String addtime;
    private List<OrderDetails> details;

    public Orders() {
    }

    public Orders(String orderid, Users uid, float orderprice, String addtime) {
        this.orderid = orderid;
        this.uid = uid;
        this.orderprice = orderprice;
        this.addtime = addtime;
    }

    public Orders(String orderid, Users uid) {
        this.orderid = orderid;
        this.uid = uid;
    }

    public Orders(String orderid, Users uid, float orderprice) {
        this.orderid = orderid;
        this.uid = uid;
        this.orderprice = orderprice;
    }

    public List<OrderDetails> getDetails() {
        return details;
    }

    public void setDetails(List<OrderDetails> details) {
        this.details = details;
    }

    public String getOrderid() {
        return orderid;
    }

    public void setOrderid(String orderid) {
        this.orderid = orderid;
    }

    public Users getUid() {
        return uid;
    }

    public void setUid(Users uid) {
        this.uid = uid;
    }

    public float getOrderprice() {
        return orderprice;
    }

    public void setOrderprice(float orderprice) {
        this.orderprice = orderprice;
    }

    public String getAddtime() {
        return addtime;
    }

    public void setAddtime(String addtime) {
        this.addtime = addtime;
    }
}
